package com.dfec.book.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.dfec.book.entity.BorrowRecordEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 图书归还dao层
 * @author tangrg
 * @email 1446232546@qq.com
 * @date 2025-06-2025/6/18 10:37:11
 */
@Mapper
public interface BorrowRecordDao extends BaseMapper<BorrowRecordEntity> {


    /**
     * 分页查询
     * @param page 分页
     * @param record 查询参数
     * @return 分页数据
     */
    IPage<BorrowRecordEntity> selectPage(@Param("page") IPage<BorrowRecordEntity> page, @Param("record") BorrowRecordEntity record);
}
